package com.sleepapp.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author ziluxike
 * @since 2025/5/27 09:55
 */
@Data
public class PageQueryParamVo {

    @ApiModelProperty(value = "页码")
    @NotNull(message = "页码不能为空")
    private Integer pageNum = 1;

    @ApiModelProperty(value = "每页数量")
    @NotNull(message = "每页数量不能为空")
    private Integer pageSize = 10;

    private String keyword;
}
